#ifndef WIDGET_H
#define WIDGET_H
#include "zoomview.h"
#include "public.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE
class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
private slots:
    void onBtnClicked();
private:
    QGraphicsRectItem* m_rectItem= nullptr;
    QGraphicsScene *m_scene = nullptr;
    ZoomView *m_zoomView = nullptr;
    Ui::Widget *ui;
};
#endif // WIDGET_H
